import numpy as np
import math
import torch

def gauss_fun(x, mu, sigma = 1):
    left = 1/(np.sqrt(2 * math.pi) * np.sqrt(sigma))
    right = np.exp(-(x-mu) ** 2/(2*sigma))
    return left*right

def create_gh(sigma):
    gausshot = []
    for i in range(10):
        tmpGausshot = []
        for j in range(10):
            tmpGausshot.append(gauss_fun(x = j, mu = i, sigma = sigma))

        gausshot.append(tmpGausshot)
    return gausshot